.empty {
  color: #aaa;
}

.loading {
  height: 16px;
  overflow: hidden;
  :global(.ant-spin) {
    transform-origin: 0 10px;
    transform: scale(0.7, 0.7);
  }
}

.external-info-panel {
  height: 100%;
  overflow-y: auto;
}

.external-info-panel > section {
  font-size: 13px;
  margin-left: 14px;
  padding: 14px 14px 14px 0;
  &:not(:last-child) {
    border-bottom: 1px solid #ddd;
  }

  :global(.row) {
    align-items: baseline;
    display: flex;
    font-size: 13px;
    padding: 8px 14px 8px 0;
  }
  :global(.row) > label {
    color: #999;
    margin-right: 1em;
    min-width: 3.5em;
    text-align: right;
  }
  :global(.row) > :last-child {
    flex: 1;
  }
}

// ===============================================

.base-info {
  display: flex;
  align-items: center;
  img {
    border-radius: 3px;
    border: 1px solid #f0f0f0;
    margin-right: 12px;
    height: 50px;
    width: 50px;
  }
  .contact-name {
    overflow: hidden;
    word-break: break-all;
    word-wrap: break-word;
    flex: 1;
  }
  .deleted {
    margin: 0 0 0 3px;
    padding: 0 5px;
    transform-origin: right top;
    transform: scale(0.9);
  }
  .deleted-info {
    color: #aaa;
    font-size: 12px;
    margin-top: 6px;
  }

  .refresh {
    flex: 1;
    padding-left: 12px;
    text-align: right;
    white-space: nowrap;
  }
}
